package com.jd.cmdb.tsc.entity;

import java.sql.Timestamp;

/**
 * Created by tianzhengguo on 2016/1/12.
 */
public class TaskLog {

    private String id;
    private String taskId;
    private short status;
    private String hostName;
    private Timestamp startTime;
    private Timestamp endTime;
    private String errorInfo;
    private Timestamp createTime;

    public Timestamp getStartTime() {
        return startTime;
    }

    public void setStartTime(Timestamp startTime) {
        this.startTime = startTime;
    }

    public Timestamp getEndTime() {
        return endTime;
    }

    public void setEndTime(Timestamp endTime) {
        this.endTime = endTime;
    }

    public String getErrorInfo() {
        return errorInfo;
    }

    public void setErrorInfo(String errorInfo) {
        this.errorInfo = errorInfo;
    }

    public String getHostName() {
        return hostName;
    }

    public void setHostName(String hostName) {
        this.hostName = hostName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public short getStatus() {
        return status;
    }

    public void setStatus(short status) {
        this.status = status;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "TaskLog{" +
                "id='" + id + '\'' +
                ", taskId='" + taskId + '\'' +
                ", status=" + status +
                ", hostName='" + hostName + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", errorInfo='" + errorInfo + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
